package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName ActionCategoryRequest
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/13 11:42
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "行为兴趣定向行为类目查询的请求参数")
public class ActionCategoryRequest {
    @ApiModelProperty(value = "广告主ID",required = true)
    @NotNull(message = "广告主ID不能为空")
    private Long advertiser_id;
    @ApiModelProperty(value = "行为天数\n" +
            "默认值: 7,15,30,60,90,180,365",required = true)
    private Long action_days;
    @ApiModelProperty(value = "行为场景，详见【附录-行为场景】\n" +
            "允许值: \"E-COMMERCE\",\"NEWS\",\"APP\"",required = true)
    @NotNull(message = "行为场景不能为空")
    private String[] action_scene;
}
